﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/AdminPanel/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Domain.PrinterCounter>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	AddCounterEntry
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Add Counter Entry by [<%=DateTime.Now.ToString() %>]</h2>

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

       
            
            <div class="editor-label">
                <label>Color prints</label>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.ColorCounter) %>
                <%: Html.ValidationMessageFor(model => model.ColorCounter) %>
            </div>
            
            <div class="editor-label">
                <label>Black prints</label>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.BlackCounter) %>
                <%: Html.ValidationMessageFor(model => model.BlackCounter) %>
            </div>
            
            <p>
                <input type="submit" value="Add entry" />
            </p>


    <% } %>

    <div>
        <%: Html.ActionLink("Back to List", "Counters") %>
    </div>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="head" runat="server">
</asp:Content>

